using AiQiuQuan.Sport.Model.Enums;

namespace AiQiuQuan.Sport.Model.Models
{
    /// <summary>
    /// 比赛小组成员dto
    /// </summary>
    public class GameGroupUserDto : BaseDto
    {
        /// <summary>
        /// 比赛ID
        /// </summary>
        public Guid GameId { get; set; }

        /// <summary>
        /// 对阵类型，1单打、2双打、3男单、4女单、5男双、6女双、7混双
        /// </summary>
        public GameVersusEnum VersusType { get; set; }

        /// <summary>
        /// 组ID
        /// </summary>
        public Guid GroupId { get; set; }

        /// <summary>
        /// 组序号
        /// </summary>
        public int GroupNo { get; set; }

        /// <summary>
        /// 队伍序号
        /// </summary>
        public string TeamNo { get; set; }

        /// <summary>
        /// 用户成员1ID
        /// </summary>
        public Guid? User1Id { get; set; }

        /// <summary>
        /// 用户成员2ID,单打为null
        /// </summary>
        public Guid? User2Id { get; set; }

        /// <summary>
        /// 赢的次数
        /// </summary>
        public int WinCount { get; set; }

        /// <summary>
        /// 输的次数
        /// </summary>
        public int LoseCount { get; set; }

        /// <summary>
        /// 分差
        /// </summary>
        public int DiffScore { get; set; }

        /// <summary>
        /// 得分
        /// </summary>
        public int Score { get; set; }

        /// <summary>
        /// 排名
        /// </summary>
        public int Rank { get; set; }

        /// <summary>
        /// 用户成员1
        /// </summary>
        public string? User1Name { get; set; }

        /// <summary>
        /// 用户1头像
        /// </summary>
        public string? User1HeadUrl { get; set; }

        /// <summary>
        /// 用户成员2,单打为null
        /// </summary>
        public string? User2Name { get; set; }

        /// <summary>
        /// 用户2头像
        /// </summary>
        public string? User2HeadUrl { get; set; }

        /// <summary>
        /// 队伍头像
        /// </summary>
        public string? HeadUrl { get; set; }

        /// <summary>
        /// 用户1网球水平
        /// </summary>
        public string? User1TennisLevel { get; set; }

        /// <summary>
        /// 用户2网球水平
        /// </summary>
        public string? User2TennisLevel { get; set; }
    }
}
